//
//  MYGMineSectionHeaderView.swift
//  MYGrow
//
//  Created by 小火科技 on 2024/2/26.
//

import UIKit

class MYGMineSectionHeaderView: UITableViewHeaderFooterView {
    // MARK: - init
    override init(reuseIdentifier: String?) {
        super.init(reuseIdentifier: reuseIdentifier)
        
        configUI()
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    // MARK: - UI
    private func configUI() {
        contentView.addSubview(nameLabel)
        nameLabel.snp.makeConstraints { make in
            make.left.equalToSuperview().offset(21)
            make.centerY.equalToSuperview()
        }
    }
    // MARK: - lazy load
    private(set) lazy var nameLabel: UILabel = {
        let label = UILabel()
        label.font = .medium(16)
        label.textColor = .black
        return label
    }()
}
